<?
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// Include the syndicate functions only once
require_once( dirname(__FILE__).DS.'mod_pbny_weekly_videos_helper.php' );

$models = array('video');
foreach($models as $model)
	require_once(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_pbny' . DS . 'models' . DS . "$model.php");

// variables needed for the site
$videos    = ModPbnyWeeklyVideosHelper::getVideos();
require( JModuleHelper::getLayoutPath( 'mod_pbny_weekly_videos'));
?>